
export default class File {
    constructor(name,data = {}, template = '',methods = []){
        this.name = name
        this.data = data
        this.template = template//原始文件
        this.methods = methods //记录文件所有的事件代码
        this.description = {}
        this.init()
    }
    init(){
        if(this.template === ''){
            this.description.dom_tree = {}
            return
        }
        //解析template使得template满足Vue Template 规则
    }
    //将文件编译成VUE页面组件
    build() {

    }
}